package com.im.netty.console;

import java.util.Scanner;

import com.im.netty.protocol.LoginResponsePacket;

import io.netty.channel.Channel;

/**
 * 
 * @author yutao
 */
public class LogoutConsoleCommand implements ConsoleCommand {

	/**
	 * 
	 * @see com.im.netty.console.ConsoleCommand#exec(java.util.Scanner, io.netty.channel.Channel)
	 */
	@Override
	public void exec(Scanner scanner, Channel channel) {
		LoginResponsePacket loginResponsePacket = new LoginResponsePacket();
		channel.writeAndFlush(loginResponsePacket);
	}


}
